﻿<!DOCTYPE html> html>
<html lang="zh-cn">
	<head>
		<title>亚细亚家具设计公司企业官网</title>
		﻿
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="format-detection" content="telephone=no">
		<meta name="renderer" content="webkit">
		<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<link rel="alternate icon" type="image/png" href="images/favicon.png">
		<link rel='icon' href='favicon.ico' type='image/x-ico' />
		<meta name="description" content="" />
		<meta name="keywords" content="" />
		<link rel="stylesheet" href="css/default.min.css?t=227" />
		<!--[if (gte IE 9)|!(IE)]><!-->
		<script type="text/javascript" src="lib/jquery/jquery.min.js"></script>
		<!--<![endif]-->
		<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="lib/amazeui/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
		<script type="text/javascript" src="lib/handlebars/handlebars.min.js"></script>
		<script type="text/javascript" src="lib/iscroll/iscroll-probe.js"></script>
		<script type="text/javascript" src="lib/amazeui/amazeui.min.js"></script>
		<script type="text/javascript" src="lib/raty/jquery.raty.js"></script>
		<script type="text/javascript" src="js/main.min.js?t=1"></script>
	</head>
	<body>
		<header>
			<div class="header-top">
				<div class="width-center">
					<div class="header-logo "><img src="images/93802ed009ab6fa0.png" alt=""></div>

					<div class="search-box div-inline">
						<div class="input-box"><input type="text" name="" placeholder="             请输入关键字"></div>
						<div class="search-botton"></div>
					</div>
				</div>
			</div>
			<div class="header-nav">
				<button class="am-show-sm-only am-collapsed font f-btn" data-am-collapse="{target: '.header-nav'}">Menu <i class="am-icon-bars"></i></button>
				<nav>
					<ul class="header-nav-ul am-collapse am-in">
						<li class="on"><a href="shouye.html" name="index">首页</a></li>
						<li><a href="chanpinfenlei.html" name="show">产品分类</a></li>
						<li><a href="xw1.html" name="new">新闻资讯</a></li>
						<li><a href="2.html" name="about">关于亚细亚</a></li>
						<li><a href="lxwm.html" name="message">联系我们</a>
							<div class="secondary-menu">

								<ul>
									<li>
										<a href="liuyan.html" class="message"></a>
									</li>
								</ul>
							</div>
						</li>
					</ul>
				</nav>
			</div>

		</header>
		<div class="am-slider am-slider-default" data-am-flexslider="{playAfterPaused: 8000}">
			<ul class="am-slides">
				<li><img src="images/lxwm.jpg" alt=""></li>
				<li><img src="images/lxwm.jpg" alt=""></li>
				<li><img src="images/lxwm.jpg" alt=""></li>
				<li><img src="images/lxwm.jpg" alt=""></li>
			</ul>
		</div>
		<div>
			<header class="header-article-list">
				<h1>咨询反馈</h1>

			</header>
			<div>
				<form class="message-form" method="post">

					<label>请输入您的姓名（必填）
						<input type="text" name="username">
						<span>*</span>
					</label>


					<label>请输入手机号/座机（必填）
						<input type="text" name="tel">
						<span>*</span>
					</label>


					<label>请输入电子邮箱（必填）
						<input type="email" name="email">
						<span>*</span>
					</label>


					<label>填写您的需求
						<textarea></textarea>
						<span>*</span>
					</label>


					<button type="button" class="am-btn am-btn-danger">提交申请</button>
				</form>
			</div>
		</div>
		<footer>
			<div>
				<div class="footer-info">
					<div class="footer-content">
						<img src="images/jd.png" alt="">
						<img src="images/tm.png" alt="">
						<div>
							<div class="footer-box">
								<i class="icon-tel"></i>
								<span>公司电话:</span>
								<span id="dianhua"></span>
							</div>
							<div class="footer-box">
								<i class="icon-email"></i>
								<span>公司邮箱:</span>
								<span id="youxiang"></span>
							</div>
							<div class="footer-box">
								<i class="icon-address"></i>
								<span>公司地址:</span>
								<span id="dizhi"></span>
							</div>
						</div>
					</div>
				</div>
				</footer>
				<script>
				//key(需要检错的键） url（传入的需要分割的url地址）
				function getSearchString(key) {
					 
					//分割url提取参数
				var url = window.location.search.substring(1);
					//alert(url);
				// 获取URL中?之后的字符
				var str = url;
				// 以&分隔字符串，获得类似name=xiaoli这样的元素数组
				var arr = str.split("&");
				var obj = new Object();

				// 将每一个数组元素以=分隔并赋给obj对象
				for(var i = 0; i < arr.length; i++) {
				var tmp_arr = arr[i].split("=");
				obj[decodeURIComponent(tmp_arr[0])] = decodeURIComponent(tmp_arr[1]);
				}

				//alert(obj[key]);
				return obj[key];
				}
				 
				 
				$.ajax({
					url : "/wzyaxiya/lfchaxun?id="+getSearchString("id"),//地址
					type : "get",//请求方式
					//data : ,
					success : function(res) {//成功以后的回调函数
						var p = res.data[0];
					
						
						$("#dianhua").html(p.dianhua);
						$("#youxiang").html(p.chuanzhen);
						$("#dizhi").html(p.dizhi);
					}

				});
				
</script>
	
	</body>
</html>
